home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 1380 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: phoenix.rhein.de!yaps!arno
  2. From: arno@yaps.rhein.de (Arno Eigenwillig)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: WBStartup - Help!
  5. Message-ID: <lZyYx*dif@yaps.rhein.de>
  6. Date: Thu, 18 Jan 1996 15:59:17 +0100
  7. References: <vreeland-1601961903260001@192.0.2.1>
  8. Organization: Yet Another Private Site in Meckenheim, Germany
  9. X-Copyright: This article may not be distributed on a CD-ROM
  10.  or in printed form without prior written consent of the author.
  11. X-Newsreader: Arn V 1.04
  12.  
  13. In article <vreeland-1601961903260001@192.0.2.1>, Robert W. Vreeland Jr. writes:
  14.  
  15. > The new process never ends up with correct command paths setup. 
  16.  
  17. This is because programs launched a la Workbench never have a command
  18. path! The command path is inherited only by CLIs from the invoking CLI
  19. (or Workbench, if started by icon) and stored via the CommandLineIn-
  20. terface structure which is an extension to the Process structure and
  21. not available for Workbench programs.
  22.  
  23. > The assigns ARE setup
  24.  
  25. This is because they are handled completely different. They are stored
  26. centrally as nodes in dos.library's DosList, not per process.
  27.  
  28. > Now I've compared both the
  29. > WBStartup message and the Process structure that my code ends up creating
  30.  
  31. I take that to mean: creates through system calls. Allocating a
  32. process structure manually is unwise.
  33.  
  34. PS: You may want to use the freely available WBStart-Handler by Stefan
  35. Becker instead of reinventing the wheel...
  36.  
  37. -- __
  38. __/// Arno Eigenwillig /\ <arno@yaps.rhein.de> \/ PGP key available.
  39. \XX/   V+49-2225-5870  /\ <Arnooo @ #amigager> \/ MIME 8bit welcome.
  40.